#!/usr/bin/env python
try:
    import json
except:
    from helper import HelpJson as json
import sys
import class_set
import helper

class FilterListMapper(helper.MapperHelper):
    def mapper(self):
        for line in sys.stdin:
            key, value = self.loader(line)
            node = class_set.UserNode()
            node.init(value)
            if node.getType() == 'delstars':
                self.allocator(key, node)
            else:
                pass

def main():
    fm = FilterListMapper()
    fm.mapper()

if __name__ == '__main__':
    main()
    
